package com.gujia.concurrent.reentrant;

public class PutThread implements Runnable{

    private Warehouse house;

    public PutThread(Warehouse house) {
        this.house = house;
    }

    @Override
    public void run() {

        while(true){
            this.house.put();
        }

    }
}
